home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcr / pcr4_4.lha / DIST / dylibload / LibrarySearchingLoad.doc < prev    next >
Text File  |  1989-09-26  |  2KB  |  30 lines

  1. -- LibrarySearchingLoad.doc
  2.  
  3. The library searching dynamic loader is loaded after PCR starts up by
  4.  
  5.     uload symfind.o
  6.     uload LibararySearchingLoad.o
  7.  
  8. The above two modules register the following pcr commands:
  9.  
  10.       libdefault - set library list to the default list
  11.       libpop - pop up the stack of library lists
  12.       libpush - push down the stack of library lists
  13.       libclear - clear the library list
  14.       liblist -  list the libraries on the library list
  15.       libappend - append the argument to the end of the library list
  16.       libprepend - prepend the argument to the beginning of the library list
  17.       libclose - close all libraries to release file descriptors.
  18.   
  19. Initially, the library stack consists of one library list which consists of the following three libraries:
  20.  
  21.       /usr/lib/libpixrect.a /usr/lib/libc.a /usr/lib/libm.a
  22.  
  23. The library list stack is limited to three deep. But there is no limit to the length of a library list.
  24.  
  25. Libraries must be prepared with ranlib(1). Undefined symbols are looked up in each library in the library list in turn. The loader prints the name of a library module as it is loaded.
  26.  
  27. In order to take advantage of the library searching dynamic loader and reduce the size of relocatable object modules, Cedar/Mesa configurations should be re-cindered with the -j switch which prevents any library searches in producing the output a.out file.
  28.  
  29. Currently, there is no package that is cindered with the -j switch. As packages get rebuilt, the special pcr libraries libxrpixrect.a and libxrc.a, against which cinder searches, will gradually become obsolete.
  30.